﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebAlignet.AlignetFiles
{
    public partial class AutorizarListSolPaseProduccion : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (Session["TipoUsuario"] != null && Session["TipoUsuario"].ToString().Equals("ADMFUNCIONAL"))
                {
                    //Button1.Enabled = false;
                }
            }
        }


        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {
            GridViewRow gvrFila = GridView1.SelectedRow;

            Session["codSolicitud"] = gvrFila.Cells[0].Text;
            Session["accion"] = "Modificar";
            Response.Redirect("http://localhost:3182/AlignetFiles/AutorizarDetSolPaseProduccion.aspx");
        }
    }
}